﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000067 RID: 103
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideSpiritInfoScNotify : IMessage<AetherDivideSpiritInfoScNotify>, IMessage, IEquatable<AetherDivideSpiritInfoScNotify>, IDeepCloneable<AetherDivideSpiritInfoScNotify>, IBufferMessage
	{
		// Token: 0x1700014C RID: 332
		// (get) Token: 0x0600049A RID: 1178 RVA: 0x0000E227 File Offset: 0x0000C427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideSpiritInfoScNotify> Parser
		{
			get
			{
				return AetherDivideSpiritInfoScNotify._parser;
			}
		}

		// Token: 0x1700014D RID: 333
		// (get) Token: 0x0600049B RID: 1179 RVA: 0x0000E22E File Offset: 0x0000C42E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideSpiritInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700014E RID: 334
		// (get) Token: 0x0600049C RID: 1180 RVA: 0x0000E240 File Offset: 0x0000C440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideSpiritInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600049D RID: 1181 RVA: 0x0000E247 File Offset: 0x0000C447
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfoScNotify()
		{
		}

		// Token: 0x0600049E RID: 1182 RVA: 0x0000E25C File Offset: 0x0000C45C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfoScNotify(AetherDivideSpiritInfoScNotify other) : this()
		{
			this.avatarInfo_ = ((other.avatarInfo_ != null) ? other.avatarInfo_.Clone() : null);
			this.hMLAHCFILKI_ = other.hMLAHCFILKI_.Clone();
			this.aKFMFBKKEOI_ = other.aKFMFBKKEOI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600049F RID: 1183 RVA: 0x0000E2B9 File Offset: 0x0000C4B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfoScNotify Clone()
		{
			return new AetherDivideSpiritInfoScNotify(this);
		}

		// Token: 0x1700014F RID: 335
		// (get) Token: 0x060004A0 RID: 1184 RVA: 0x0000E2C1 File Offset: 0x0000C4C1
		// (set) Token: 0x060004A1 RID: 1185 RVA: 0x0000E2C9 File Offset: 0x0000C4C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfo AvatarInfo
		{
			get
			{
				return this.avatarInfo_;
			}
			set
			{
				this.avatarInfo_ = value;
			}
		}

		// Token: 0x17000150 RID: 336
		// (get) Token: 0x060004A2 RID: 1186 RVA: 0x0000E2D2 File Offset: 0x0000C4D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<AetherDivideSpiritInfo> HMLAHCFILKI
		{
			get
			{
				return this.hMLAHCFILKI_;
			}
		}

		// Token: 0x17000151 RID: 337
		// (get) Token: 0x060004A3 RID: 1187 RVA: 0x0000E2DA File Offset: 0x0000C4DA
		// (set) Token: 0x060004A4 RID: 1188 RVA: 0x0000E2E2 File Offset: 0x0000C4E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AKFMFBKKEOI
		{
			get
			{
				return this.aKFMFBKKEOI_;
			}
			set
			{
				this.aKFMFBKKEOI_ = value;
			}
		}

		// Token: 0x060004A5 RID: 1189 RVA: 0x0000E2EB File Offset: 0x0000C4EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideSpiritInfoScNotify);
		}

		// Token: 0x060004A6 RID: 1190 RVA: 0x0000E2FC File Offset: 0x0000C4FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideSpiritInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.AvatarInfo, other.AvatarInfo) && this.hMLAHCFILKI_.Equals(other.hMLAHCFILKI_) && this.AKFMFBKKEOI == other.AKFMFBKKEOI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060004A7 RID: 1191 RVA: 0x0000E360 File Offset: 0x0000C560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.avatarInfo_ != null)
			{
				num ^= this.AvatarInfo.GetHashCode();
			}
			num ^= this.hMLAHCFILKI_.GetHashCode();
			if (this.AKFMFBKKEOI != 0U)
			{
				num ^= this.AKFMFBKKEOI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060004A8 RID: 1192 RVA: 0x0000E3C3 File Offset: 0x0000C5C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060004A9 RID: 1193 RVA: 0x0000E3CB File Offset: 0x0000C5CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060004AA RID: 1194 RVA: 0x0000E3D4 File Offset: 0x0000C5D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.avatarInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.AvatarInfo);
			}
			this.hMLAHCFILKI_.WriteTo(ref output, AetherDivideSpiritInfoScNotify._repeated_hMLAHCFILKI_codec);
			if (this.AKFMFBKKEOI != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.AKFMFBKKEOI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060004AB RID: 1195 RVA: 0x0000E440 File Offset: 0x0000C640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.avatarInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AvatarInfo);
			}
			num += this.hMLAHCFILKI_.CalculateSize(AetherDivideSpiritInfoScNotify._repeated_hMLAHCFILKI_codec);
			if (this.AKFMFBKKEOI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AKFMFBKKEOI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060004AC RID: 1196 RVA: 0x0000E4AC File Offset: 0x0000C6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideSpiritInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.avatarInfo_ != null)
			{
				if (this.avatarInfo_ == null)
				{
					this.AvatarInfo = new AetherDivideSpiritInfo();
				}
				this.AvatarInfo.MergeFrom(other.AvatarInfo);
			}
			this.hMLAHCFILKI_.Add(other.hMLAHCFILKI_);
			if (other.AKFMFBKKEOI != 0U)
			{
				this.AKFMFBKKEOI = other.AKFMFBKKEOI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060004AD RID: 1197 RVA: 0x0000E525 File Offset: 0x0000C725
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060004AE RID: 1198 RVA: 0x0000E530 File Offset: 0x0000C730
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 42U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.AKFMFBKKEOI = input.ReadUInt32();
						}
					}
					else
					{
						this.hMLAHCFILKI_.AddEntriesFrom(ref input, AetherDivideSpiritInfoScNotify._repeated_hMLAHCFILKI_codec);
					}
				}
				else
				{
					if (this.avatarInfo_ == null)
					{
						this.AvatarInfo = new AetherDivideSpiritInfo();
					}
					input.ReadMessage(this.AvatarInfo);
				}
			}
		}

		// Token: 0x040001A5 RID: 421
		private static readonly MessageParser<AetherDivideSpiritInfoScNotify> _parser = new MessageParser<AetherDivideSpiritInfoScNotify>(() => new AetherDivideSpiritInfoScNotify());

		// Token: 0x040001A6 RID: 422
		private UnknownFieldSet _unknownFields;

		// Token: 0x040001A7 RID: 423
		public const int AvatarInfoFieldNumber = 4;

		// Token: 0x040001A8 RID: 424
		private AetherDivideSpiritInfo avatarInfo_;

		// Token: 0x040001A9 RID: 425
		public const int HMLAHCFILKIFieldNumber = 5;

		// Token: 0x040001AA RID: 426
		private static readonly FieldCodec<AetherDivideSpiritInfo> _repeated_hMLAHCFILKI_codec = FieldCodec.ForMessage<AetherDivideSpiritInfo>(42U, AetherDivideSpiritInfo.Parser);

		// Token: 0x040001AB RID: 427
		private readonly RepeatedField<AetherDivideSpiritInfo> hMLAHCFILKI_ = new RepeatedField<AetherDivideSpiritInfo>();

		// Token: 0x040001AC RID: 428
		public const int AKFMFBKKEOIFieldNumber = 15;

		// Token: 0x040001AD RID: 429
		private uint aKFMFBKKEOI_;
	}
}
